package com.yizhi.domain.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;

/**
 * @author zhouyihe
 * @ClassName UserFormDTO
 * @qq 1552951165
 */
public class UserFormDTO {
    private static final long serialVersionUID = 1L;
    
    /**
     * ID号
     */
    private Integer id;
    
    /**
     * 姓名
     */
    private String name;
    
    /**
     * 学校
     */
    private String school;
    
    /**
     * 身份(1:教师,2:评委)
     */
    private Integer role;
    
    /**
     * 用户名(账号)
     */
    private String username;
    
    /**
     * 密码
     */
    private String pwd;
    
    private String groupName;
    
    private int page;
    
    private int pageSize;
    
    public void setPwd(String pwd) {
        this.pwd = pwd;
    }
    
    public int getPage() {
        return page;
    }
    
    public void setPage(int page) {
        this.page = page;
    }
    
    public int getPageSize() {
        return pageSize;
    }
    
    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }
    
    public String getGroup() {
        return groupName;
    }
    
    public void setGroup(String groupName) {
        this.groupName = groupName;
    }
    public Integer getId() {
        return id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    public String getSchool() {
        return school;
    }
    
    public void setSchool(String school) {
        this.school = school;
    }
    public Integer getRole() {
        return role;
    }
    
    public void setRole(Integer role) {
        this.role = role;
    }
    public String getUsername() {
        return username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }
    public String getPwd() {
        return pwd;
    }
    
    
    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name=" + name +
                ", school=" + school +
                ", role=" + role +
                ", username=" + username +
                ", pwd=" + pwd +
                "}";
    }
}
